package cn.stylefeng.guns.modular.business.pojo;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 检索词典封装类
 *
 * @author zhangyaowen
 * @date 2021/08/30 10:17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SubDicRequest extends BaseRequest {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("")
    private Long id;

    /**
     * 对应名
     */
    @ChineseDescription("对应名")
    private String dicAname;

    /**
     * 分类名
     */
    @ChineseDescription("分类名")
    private String dicZname;

    /**
     * 1:城镇、2:河道
     */
    @ChineseDescription("1:城镇、2:河道")
    private Long dicType;

}